package com.cool.springcloud.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * 付款单位
 *
 * @Author ifredomvip@gmail.com
 * @Date 2022/8/18 13:58
 * @Version 1.0.0
 * @Description
 */
@TableName(value ="payment")
@Data
public class PaymentEntity implements Serializable {
    /**
     * 订单Id
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 支付流水号
     */
    private String serial;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}